<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict //EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Simple JavaScript Benchmark (early beta)</title>
	<style type="text/css">
		h2 { color: #A52238; font-size: 15px; font-family: verdana, tahoma, serif; padding: 5px 5px 5px 0; margin: 5px;}
		body { background: #DaEaE1}
		
		div#container { width: 935px; margin: 0 auto; display: block }
		div#main { display: block; background: #fff; 
			padding: 20px; margin: 10px auto; border: 1px dashed #A52238; 
			width: 430px; color: #000; overflow: hidden; height: 473px;
			float: left;
			}
		
		div#side { float: left; width: 450px; margin: 0 0 0 10px }
		div#console {
			display: block;
			background: #fff; 
			padding: 20px; margin: 10px auto; border: 1px dashed #A52238;
			width: 410px;
			float: left;
			white-space: pre;
			font-size: 10px;
			min-height: 0px;
			height:0px;
			overflow: hidden;
		}
		div#graph {
			clear: left;
			width: 410px;
			height: 210px;
			background:#fff;
			text-align: center;
			margin: 10px auto;
			border: 1px dashed #A52238;
			padding: 20px;
		}
		div#graph2 {
			clear: left;
			width: 410px;
			height: 210px;
			background:#fff;
			text-align: center;
			margin: 10px auto;
			border: 1px dashed #A52238;
			padding: 20px;
			
		}
		small { color: #000; background: #A6CEC1; float: right; padding: 2px 5px; }
		a { color: #000000 }
		a:visited { color: #ff0000 }
		div#result { display: block; font-size: 11px; font-family: monospace; color: #999; }
		div#result strong { color: rgb(240,100,0); font-size: 12px }
		
	</style>
	<script type="text/javascript" src="jquery-1.2.3.min.js"></script>
	<script type="text/javascript" src="flot/jquery.flot.pack.js"></script>
	<!--[if IE]><script language="javascript" type="text/javascript" src="flot/excanvas.pack.js"></script><![endif]-->
	<script type="text/javascript" src="jsb.js"></script>


</head>
<body>
<div id="container">
<div id="main">
	<h2>simple JavaScript benchmark (early beta)</h2>
	<label for="code">Paste your JS code below:</label>
	<textarea name="code" id="code" cols="50" rows="20">// Sample code
arr = [];
for (x=0;x<1000;x++){
c = parseInt(Math.random()*1000);
arr.push(c);
}
arr.sort()
</textarea><br />
	<label for="iter">Number of iterations:</label>
	<input type="text" name="iter" id="iter" value="50" />
	<a href="#" id="run">Run &raquo;&raquo;</a>
	<div id="result"></div>
</div>

<div id="side">
	<div id="graph">
	no data
	</div>
	<div id="graph2">
	no data
	</div>

	<div id="console"></div>
	

</div>

<small>// szymon.pilkowski@gmail.com</small>
</div>

</body>
</html>